/// systemPostCode : "109107"
/// systemPostName : "医护"
/// pid : null
/// gname : "医疗专家"
/// gdesc : ""
/// gstate : 1
/// branchId : 1590
/// tenantName : 1000
/// systemPostId : 107
/// saasId : null
/// id : 104
/// createdBy : "73945"
/// createdDate : "2023-01-16 15:09:22"
/// updatedBy : "73945"
/// updatedDate : "2023-01-16 15:09:22"

class AdviceNotifyTypeList {
  AdviceNotifyTypeList({
      this.systemPostCode, 
      this.systemPostName, 
      this.pid, 
      this.gname, 
      this.gdesc, 
      this.gstate, 
      this.branchId, 
      this.tenantName, 
      this.systemPostId, 
      this.saasId, 
      this.id, 
      this.createdBy, 
      this.createdDate, 
      this.updatedBy, 
      this.updatedDate,});

  AdviceNotifyTypeList.fromJson(dynamic json) {
    systemPostCode = json['systemPostCode'];
    systemPostName = json['systemPostName'];
    pid = json['pid'];
    gname = json['gname'];
    gdesc = json['gdesc'];
    gstate = json['gstate'];
    branchId = json['branchId'];
    tenantName = json['tenantName'];
    systemPostId = json['systemPostId'];
    saasId = json['saasId'];
    id = json['id'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
  }
  String? systemPostCode;
  String? systemPostName;
  dynamic pid;
  String? gname;
  String? gdesc;
  num? gstate;
  num? branchId;
  num? tenantName;
  num? systemPostId;
  dynamic saasId;
  num? id;
  String? createdBy;
  String? createdDate;
  String? updatedBy;
  String? updatedDate;
AdviceNotifyTypeList copyWith({  String? systemPostCode,
  String? systemPostName,
  dynamic pid,
  String? gname,
  String? gdesc,
  num? gstate,
  num? branchId,
  num? tenantName,
  num? systemPostId,
  dynamic saasId,
  num? id,
  String? createdBy,
  String? createdDate,
  String? updatedBy,
  String? updatedDate,
}) => AdviceNotifyTypeList(  systemPostCode: systemPostCode ?? this.systemPostCode,
  systemPostName: systemPostName ?? this.systemPostName,
  pid: pid ?? this.pid,
  gname: gname ?? this.gname,
  gdesc: gdesc ?? this.gdesc,
  gstate: gstate ?? this.gstate,
  branchId: branchId ?? this.branchId,
  tenantName: tenantName ?? this.tenantName,
  systemPostId: systemPostId ?? this.systemPostId,
  saasId: saasId ?? this.saasId,
  id: id ?? this.id,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['systemPostCode'] = systemPostCode;
    map['systemPostName'] = systemPostName;
    map['pid'] = pid;
    map['gname'] = gname;
    map['gdesc'] = gdesc;
    map['gstate'] = gstate;
    map['branchId'] = branchId;
    map['tenantName'] = tenantName;
    map['systemPostId'] = systemPostId;
    map['saasId'] = saasId;
    map['id'] = id;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    return map;
  }

}